package ${map.basePackage}.vo;

import cn.rulian.base.common.vo.BaseVo;
import ${curd.boPath};

/** 
 * ${curd.name} VO
 */
public class ${map.boName}Vo extends BaseVo
{
	//查询条件传值
	<#list queryFields as item>
		<#if item.fieldType == "java.lang.String">
	private String ${item.fieldName};	//${item.showName!item.fieldName}
	
		<#elseif item.otherBo>
	private String ${item.fieldName}Id;	//${item.showName!item.fieldName} ID
	
		<#elseif item.fieldType == "java.util.Date">
	private String ${item.fieldName}_start;	//开始时间
	private String ${item.fieldName}_end;	//结束时间
	
		</#if>
    </#list>
	
	//实体信息（增加、修改时传值）
	private ${map.boName} obj;

	public ${map.boName} getObj()
	{
		return obj;
	}

	public void setObj(${map.boName} obj)
	{
		this.obj = obj;
	}
	
	<#list queryFields as item>
		<#if item.fieldType == "java.lang.String">
	
	public String get${item.fieldName?cap_first}()
	{
		return ${item.fieldName};
	}

	public void set${item.fieldName?cap_first}(String ${item.fieldName})
	{
		this.${item.fieldName} = ${item.fieldName};
	}
			
		<#elseif  item.otherBo>
		
	public String get${item.fieldName?cap_first}Id()
	{
		return ${item.fieldName}Id;
	}

	public void set${item.fieldName?cap_first}Id(String ${item.fieldName}Id)
	{
		this.${item.fieldName}Id = ${item.fieldName}Id;
	}
			
		<#elseif item.fieldType == "java.util.Date">
			
	public String get${item.fieldName?cap_first}_start()
	{
		return ${item.fieldName}_start;
	}

	public void set${item.fieldName?cap_first}_start(String ${item.fieldName}_start)
	{
		this.${item.fieldName}_start = ${item.fieldName}_start;
	}

	public String get${item.fieldName?cap_first}_end()
	{
		return ${item.fieldName}_end;
	}

	public void set${item.fieldName?cap_first}_end(String ${item.fieldName}_end)
	{
		this.${item.fieldName}_end = ${item.fieldName}_end;
	}
	
		</#if>
    </#list>
	

}
